package com.school.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.school.entity.HljtJurisdiction;
import com.school.entity.HljtUser;
import com.school.entity.web.HljtUserInfo;
import com.school.entity.web.UseresloginParameter;

@Repository
public interface HljtUserDao {

	
	HljtUserInfo userlogin(String userName ,String passWord);
	
	int userUpdate(HljtUser oHljtUser);
	
	int userInsert(HljtUser oHljtUser);
	
	int userDelete(String userName);
	
	int selectByUserName(String userName);
	/***
	 * 权限的页面
	 * @param list
	 * @return
	 */
	List<HljtJurisdiction> allJurisdictionByParent(List<Integer> list);
	/***
	 * 用户登陆
	 * @param list
	 * @return
	 */
	HljtUser usereslogin(HljtUser hljtUser);
	/***
	 * 用户登陆权限
	 * @param list
	 * @return
	 */
	UseresloginParameter useresloginJurisdiction(HljtUser hljtUser);
	/***
	 * 用户登陆是否绑定班级
	 * @param list
	 * @return
	 */
	Integer useresloginClassIsNotBound(HljtUser hljtUser);
}
